package com.zs.framework.mail.annotation;

import com.zs.framework.mail.config.MailAutoConfiguration;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 邮件发送
 * @author zhougf
 * @version 1.0
 * @date 2020/07/23
 */

@Documented
@Target({ ElementType.TYPE })
@Retention(RetentionPolicy.RUNTIME)
@Import(MailAutoConfiguration.class)
public @interface MailProducer {

    String receiveAddress();

    String copyAddress() default "";

}
